class AlarmItem {
  late int index;
  late int hour;
  late int minute;
  late List<int> cycleList = [];
  late String name;
  bool enable = false;

  AlarmItem();

  Map<String, dynamic> toMap() {
    return {
      'index':index,
      'hour':hour,
      'minute':minute,
      'cycleList':cycleList,
      'name':name,
      'enable':enable
    };
  }
}